ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 10 - No. 44)

What is the usual behavior of a CASE statement if there's no matching case and no ELSE (or default) clause?
The program execution stops.
The code block of the first case is executed.
The program continues with the next statement after the CASE block.
An error message will be displayed.

Giải thích

Without a default clause, the program proceeds to the code following the CASE statement.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc